package com.baijia.commons.constant;

/**
 * @title Constant
 * @desc Passport常量
 * @author caoliang
 * @date 2015年12月1日
 * @version 1.0
 */
public class Constant {
    /** ST在参数中的key */
    public static final String ARTIFACTPARAMETERNAME = "pp_ticket";
    /** service在参数中的key */
    public static final String SERVICEPARAMETERNAME = "service";
    /** service在参数中的key */
    public static final String TARGET_SERVICE_PARAMETER_NAME = "targetService";
    /** Passport跳转回client的登出url标识符 */
    public static final String LOGOUTPARAMETERNAME = "logoutRequest";
    public static final String APPID = "appId";
    /** 登录账户对应db中id */
    public static final String PRINCIPAL_ACCOUNTID = "accountId";
    /** 登录账户对应db中number */
    public static final String PRINCIPAL_ACCOUNTNUMBER = "accountNumber";
    /** 登录机构子账户对应db中id */
    public static final String PRINCIPAL_ORG_CASCADE_ACCOUNTID = "orgCascadeAccountId";
    /** 登录账户手机号 */
    public static final String PRINCIPAL_ACCOUNT_MOBILE = "accountMobile";
    /** 机构账户 */
    public static final String PRINCIPAL_ORG_ACCOUNT = "orgAccount";
    /** 机构子账户 */
    public static final String PRINCIPAL_ORG_CASCADE_ACCOUNT = "orgCascadeAccount";
    /** 天校token验证失败 */
    public static final int TOKEN_INVALID = 2100009999;

    public static final String GENSHUIXUE_DOMAIN = ".genshuixue.com";

    public static final String BAIJIAHULIAN_DOMAIN = ".baijiahulian.com";
}
